package com.xb.loan.admin.dao.system;


import com.xb.loan.admin.bean.system.OssRole;
import com.xb.loan.util.mybatis.MyBatisRepository;

import java.util.List;
import java.util.Map;


@MyBatisRepository
public interface OssRoleDao {
    int deleteByPrimaryKey(String roleId);

    int insert(OssRole record);

    int insertSelective(OssRole record);

    OssRole selectByPrimaryKey(String roleId);

    int updateByPrimaryKeySelective(OssRole record);

    int updateByPrimaryKey(OssRole record);
    
    OssRole selectByRoleName(String roleName);
    
    List<OssRole> queryOssRoleByPage(Map<String, Object> map);
    
    int queryOssRoleCount(Map<String, Object> map);
    
    List<OssRole> queryOssRoleList(String roleId);
}